package cn.edu.jlu.grid.vjm;

import java.net.Socket;

public class VJobSetIdMessage extends VJMMessage  {
	private int vjobId;
	public VJobSetIdMessage(int id) {
		vjobId = id;
	}
	public void onSend() {}
	public void onReceive(Socket connection){
		VJobExecute.getInstance().setVjobId(vjobId);
	}
	public String toString() {
		return "VJobSetIdMessage: vjobId: " + vjobId;
	}
}
